package com.wit.WEB.mapper;

import com.wit.WEB.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    User selectByAcAndPW(@Param("account")String account,@Param("pwd")String pwd);

    List<User> selectByAccount(@Param("account")String account);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
}